#include <iostream>
#include <iomanip>

class Solution
{
public:
    int main()
    {
        double t;
        int n;
        std::cin >> t >> n;
        std::cout << std::setprecision(3) << std::fixed << t / n << std::endl
                  << 2 * n;
        return 0;
    }
};

#ifndef __LOCAL_TEST__
int main()
{
    return Solution().main();
}
#endif